import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";

@Entity({ name: 'BaseCommemorationDayModel' })
export default class BaseCommemorationDayModelEntity {
  @PrimaryGeneratedColumn()
  SysID: number;

  @Column({ type: 'bigint' })
  BaseSysID: number;

  @Column({ type: 'varchar',length:25 })
  BaseCommemorationDate: string;

  @Column({ type: 'varchar',length:25 })
  CommemorationDate: string;

  @Column({ type: 'varchar',length:25 })
  LunarDate: string;

  @Column({ type: 'varchar',length:25 })
  LunarNumDate: string;

  @Column({ type: 'varchar',length:25 })
  SolarDate: string;

  @Column({ type: 'int'})
  IntervalDay: number;

  /**
   * 阴历还是阳历(0阴历1阳历)
   */
  @Column({ type: 'int'})
  LunarOrSolar: number;

  @Column({ type: 'varchar',length:5})
  Weekly: string;

  /**
   * 循环周期(0:每天1每隔一天2:每一星期3:每一个月,99不循环)
   */
  @Column({ type: 'int'})
  Circulation: number;

  /**
   * 提醒时间(0:当天1:提前一天2:提前两天3:提前三天4:提前一星期5:提前一个月6:每天提醒,99不提醒)
   */
  @Column({ type: 'int'})
  RemindDate: number;

  @Column({ type: 'varchar',length:5})
  RemindTime: string;

  @Column({ type: 'int'})
  Edited: number;

  @Column({ type: 'varchar',length:10})
  SendSmsIntervalDate: string;

  /**
   * 累积或者倒数(0倒数1累积)
   */
  @Column({ type: 'int'})
  CountDown: number;

  @Column({ type: 'varchar',length:10})
  UpdateDate: string;
}